using System;
using Order.Domain.Enum;

namespace Order.Api.Read.Dto.Order
{
    /// <summary>
    /// 处方订单查询条件DTO
    /// </summary>
    public class PrescriptionOrderQueryDto
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 关键字搜索（患者姓名、手机号）
        /// </summary>
        public string? Keyword { get; set; }

        /// <summary>
        /// 开始时间（查询创建时间）
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间（查询创建时间）
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 处方订单状态筛选
        /// </summary>
        public PrescriptionOrderStatusEnum? OrderStatus { get; set; }
    }
}